﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BUS;
using DTO;
namespace PhanMemSapThoiKhoaBieu
{
    public partial class FormMain : Form
    {
        public FormMain()
        {
            InitializeComponent();
        }

        //private void HienThiDanhSach()
        //{
        //    dgvDanhSach.Rows.Clear();
        //    List<Khoi_MonHocDTO> lst = Khoi_MonHocBUS.LayDanhSach();
        //    for (int i = 0; i < lst.Count; i++)
        //    {
        //        Khoi_MonHocDTO kmh = lst[i];
        //        dgvDanhSach.Rows.Add();
        //        dgvDanhSach.Rows[i].Cells[0].Value = kmh.IDKhoi;
        //        dgvDanhSach.Rows[i].Cells[1].Value = kmh.IDMonHoc;
        //        dgvDanhSach.Rows[i].Cells[2].Value = kmh.SoTietPhaiHoc;
        //    }
        //}

        private void Form1_Load(object sender, EventArgs e)
        {
            //HienThiDanhSach();
        }

        private void quảnLýMônHọcToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormMonHoc frm = new FormMonHoc();
            frm.Show();
        }

        private void xemThờiKhóaBiểuToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormSapTKB frm = new FormSapTKB();
            frm.Show();
        }

        private void danhSáchThờiKhóaBiểuToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormXemThoiKhoaBieu frm = new FormXemThoiKhoaBieu();
            frm.Show();
        }

        private void quảnLýLớpHọcToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormLopHoc frm = new FormLopHoc();
            frm.Show();
        }

        private void danhSáchMônHọcTheoKhốiLớpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormMonHocTheoKhoi frm = new FormMonHocTheoKhoi();
            frm.Show();
        }

        private void danhSáchPhânCôngGiảngDạyToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            FormPhanCongGiangDay frm = new FormPhanCongGiangDay();
            frm.Show();
        }

    }
}
